package com.yingxin.yxerp.module.activiti.vo.req;

import com.yingxin.yx.framework.commons.activiti.def.ConditionExpression;
import com.yingxin.yx.framework.commons.activiti.def.TaskDef;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;

@Data
public class ActivitiFormDeployReqVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "表单id")
    @NotBlank
    private String formId;

    @ApiModelProperty(value = "这个是前端生成的xml")
    @NotBlank
    private String bpmnContent;

    // 这个是前端说他需要的数据，编辑时要返回
    private String bpmnGraphData;

    private List<TaskDef> tasks;

    private List<ConditionExpression> conditionExpressions;


}
